package com.zhang.sharding;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@MapperScan("com.zhang.sharding.mapper")
@SpringBootApplication
//@ComponentScan(basePackages = {"com.zhang.sharding", "com.baomidou.dynamic.datasource.spring.boot.autoconfigure"})
public class ShardingDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShardingDemoApplication.class, args);
    }

}
